package com.zhangxi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhangxi
 * 输入的员工登录信息
 * @create 2024-04-17 20:10
 */
@Data // 是@ToString, @EqualsAndHashCode, @Getter, @Setter和@NoArgsConstructor的结合
@ApiModel(description = "员工登录时传递的数据模型")
public class EmployeeLoginDTO implements Serializable {
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    private String password;
}
